package com.atguigu.factory.dAbstractFactory.pizzaStore.order;


/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 披萨商场（客户端）
 * @create: 2022-01-23 16:19
 **/
public class PizzaStore {
    public static void main(String[] args) {
        BjFactory bjFactory = new BjFactory();
        LdFactory ldFactory = new LdFactory();

        //使用北京工厂创建属于北京的披萨
//        new OrderPizza(bjFactory);

        //使用伦敦工厂创建属于伦敦的披萨
        new OrderPizza(ldFactory);
    }
}
